const nodata = require('../tw-lib-base/no-data/props')
module.exports = {
  data: {
    type: Array,
    default () {
      return [
        {
          title: '1',
          subtitle: '北京市十一中学北京市十一中学北京市十一中学北京市十一中学',
          content: '25%',
          color: 'red'
        },
        {
          title: '2',
          subtitle: '北京市十一中学',
          content: '25%',
          color: 'blue'
        }
      ]
    },
    name: '图表数据集',
    filedType: 'api'
  },
  datatitle: {
    type: String,
    default: '排名,学校名称,合格率',
    name: '列表名称',
    filedType: 'string'
  },
  bgColor: {
    type: String,
    default: 'transparent',
    name: '背景颜色',
    filedType: 'color'
  },

  limitNum: {
    type: String,
    default: '3',
    name: '开启滚动条数据量',
    filedType: 'string'
  },
  step: {
    type: String,
    default: '0.8',
    name: '滚动速度控制',
    filedType: 'string'
  },

  listWidth: {
    type: String,
    default: '360px',
    name: '列表宽度',
    filedType: 'string'
  },
  listHeight: {
    type: String,
    default: '240px',
    name: '滚动显示区域高度',
    filedType: 'string'
  },

  itemHeight: {
    type: String,
    default: '10px',
    name: '列表间距',
    filedType: 'string'
  },

  titleFontSize: {
    type: String,
    default: '16px',
    name: '标题字体大小',
    filedType: 'string'
  },
  titlecolor: {
    type: String,
    default: '#333',
    name: '标题字体颜色',
    filedType: 'color'
  },
  subtitleFontSize: {
    type: String,
    default: '16px',
    name: '标题字体大小',
    filedType: 'string'
  },
  subtitlecolor: {
    type: String,
    default: '#333',
    name: '标题字体颜色',
    filedType: 'color'
  },
  contentFontSize: {
    type: String,
    default: '16px',
    name: '内容字体大小',
    filedType: 'string'
  },
  contentcolor: {
    type: String,
    default: '#333',
    name: '内容颜色',
    filedType: 'color'
  },
  overflow: {
    type: String,
    default: 'auto',
    name: '滚动条选项',
    filedType: 'string'
  },
  scrollbarWidth: {
    type: String,
    default: '10px',
    name: '滚动条宽度',
    filedType: 'string'
  },
  scrollbarBgc: {
    type: String,
    default: '#f1f1f1',
    name: '滚动条背景色',
    filedType: 'color'
  },
  thumbBgc: {
    type: String,
    default: '#a8a8a8',
    name: '滑块颜色',
    filedType: 'color'
  },
  indexBgColor: {
    type: String,
    default: 'rgba(24, 144, 255, 0.5)',
    name: '排名背景颜色',
    filedType: 'color'
  },

  intervalTime: {
    type: String,
    default: '',
    name: '轮询间隔时间(s)',
    filedType: 'string'
  },

  showHtml: {
    type: Boolean,
    default: false,
    name: '允许使用HTML',
    filedType: 'switch'
  },

  ...nodata
}
